<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
    <meta name="author" content="Coderthemes">
    {{--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">--}}

    <link rel="shortcut icon" href="/admin/assets/images/favicon_1.ico">

    <title>@yield('title')</title>

    <!--Morris Chart CSS -->
    <link rel="stylesheet" href="/admin/assets/plugins/morris/morris.css">

    <link href="/admin/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/css/core.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/css/components.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/css/icons.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/css/pages.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/css/responsive.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/plugins/bootstrap-table/dist/bootstrap-table.min.css" rel="stylesheet" type="text/css" />
    <link href="https://cdn.bootcss.com/jquery-confirm/3.3.2/jquery-confirm.min.css" rel="stylesheet">
    <link href="/admin/assets/plugins/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/plugins/timepicker/bootstrap-timepicker.min.css" rel="stylesheet">
    <link href="/admin/assets/plugins/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css" rel="stylesheet">
    <link href="/admin/assets/plugins/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css" rel="stylesheet">
    <link href="/admin/assets/plugins/clockpicker/dist/jquery-clockpicker.min.css" rel="stylesheet">
    <link href="/admin/assets/plugins/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <!-- HTML5 Shiv and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <link href="/admin/assets/plugins/bootstrap-tagsinput/dist/bootstrap-tagsinput.css" rel="stylesheet" />
    <link href="/admin/assets/plugins/switchery/dist/switchery.min.css" rel="stylesheet" />
    <link href="/admin/assets/plugins/multiselect/css/multi-select.css"  rel="stylesheet" type="text/css" />
    <link href="/admin/assets/plugins/select2/select2.css" rel="stylesheet" type="text/css" />
    <link href="/admin/assets/plugins/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet" />


    <script src="/admin/assets/js/modernizr.min.js"></script>
    <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=foZmdsnIFkzUQcHp8jkVByA9OYNPG45u"></script>


</head>


<body class="fixed-left">

<!-- Begin page -->
<div id="wrapper">

    <!-- Top Bar Start -->
    <div class="topbar">

        <!-- LOGO -->
        <div class="topbar-left" style="width: 200px !important;">
        </div>

        <!-- Button mobile view to collapse sidebar menu -->
        <div class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="">
                    <div class="pull-left">
                        <button class="button-menu-mobile open-left">
                            <i class="ion-navicon"></i>
                        </button>
                        <span class="clearfix"></span>
                    </div>
                    <ul class="nav navbar-nav navbar-right pull-right">
                        {{--<li class="dropdown hidden-xs">--}}
                            {{--<a href="#" data-target="#" class="dropdown-toggle waves-effect waves-light" data-toggle="dropdown" aria-expanded="true">--}}
                                {{--<i class="icon-bell"></i> <span class="badge badge-xs badge-danger">3</span>--}}
                            {{--</a>--}}
                            {{--<ul class="dropdown-menu dropdown-menu-lg">--}}
                                {{--<li class="notifi-title"><span class="label label-default pull-right">New 3</span>Notification</li>--}}
                                {{--<li class="list-group nicescroll notification-list">--}}
                                    {{--<!-- list item-->--}}
                                    {{--<a href="javascript:void(0);" class="list-group-item">--}}
                                        {{--<div class="media">--}}
                                            {{--<div class="pull-left p-r-10">--}}
                                                {{--<em class="fa fa-diamond fa-2x text-primary"></em>--}}
                                            {{--</div>--}}
                                            {{--<div class="media-body">--}}
                                                {{--<h5 class="media-heading">A new order has been placed A new order has been placed</h5>--}}
                                                {{--<p class="m-0">--}}
                                                    {{--<small>There are new settings available</small>--}}
                                                {{--</p>--}}
                                            {{--</div>--}}
                                        {{--</div>--}}
                                    {{--</a>--}}

                                    {{--<!-- list item-->--}}
                                    {{--<a href="javascript:void(0);" class="list-group-item">--}}
                                        {{--<div class="media">--}}
                                            {{--<div class="pull-left p-r-10">--}}
                                                {{--<em class="fa fa-cog fa-2x text-custom"></em>--}}
                                            {{--</div>--}}
                                            {{--<div class="media-body">--}}
                                                {{--<h5 class="media-heading">New settings</h5>--}}
                                                {{--<p class="m-0">--}}
                                                    {{--<small>There are new settings available</small>--}}
                                                {{--</p>--}}
                                            {{--</div>--}}
                                        {{--</div>--}}
                                    {{--</a>--}}

                                    {{--<!-- list item-->--}}
                                    {{--<a href="javascript:void(0);" class="list-group-item">--}}
                                        {{--<div class="media">--}}
                                            {{--<div class="pull-left p-r-10">--}}
                                                {{--<em class="fa fa-bell-o fa-2x text-danger"></em>--}}
                                            {{--</div>--}}
                                            {{--<div class="media-body">--}}
                                                {{--<h5 class="media-heading">Updates</h5>--}}
                                                {{--<p class="m-0">--}}
                                                    {{--<small>There are <span class="text-primary font-600">2</span> new updates available</small>--}}
                                                {{--</p>--}}
                                            {{--</div>--}}
                                        {{--</div>--}}
                                    {{--</a>--}}

                                    {{--<!-- list item-->--}}
                                    {{--<a href="javascript:void(0);" class="list-group-item">--}}
                                        {{--<div class="media">--}}
                                            {{--<div class="pull-left p-r-10">--}}
                                                {{--<em class="fa fa-user-plus fa-2x text-info"></em>--}}
                                            {{--</div>--}}
                                            {{--<div class="media-body">--}}
                                                {{--<h5 class="media-heading">New user registered</h5>--}}
                                                {{--<p class="m-0">--}}
                                                    {{--<small>You have 10 unread messages</small>--}}
                                                {{--</p>--}}
                                            {{--</div>--}}
                                        {{--</div>--}}
                                    {{--</a>--}}

                                    {{--<!-- list item-->--}}
                                    {{--<a href="javascript:void(0);" class="list-group-item">--}}
                                        {{--<div class="media">--}}
                                            {{--<div class="pull-left p-r-10">--}}
                                                {{--<em class="fa fa-diamond fa-2x text-primary"></em>--}}
                                            {{--</div>--}}
                                            {{--<div class="media-body">--}}
                                                {{--<h5 class="media-heading">A new order has been placed A new order has been placed</h5>--}}
                                                {{--<p class="m-0">--}}
                                                    {{--<small>There are new settings available</small>--}}
                                                {{--</p>--}}
                                            {{--</div>--}}
                                        {{--</div>--}}
                                    {{--</a>--}}

                                    {{--<!-- list item-->--}}
                                    {{--<a href="javascript:void(0);" class="list-group-item">--}}
                                        {{--<div class="media">--}}
                                            {{--<div class="pull-left p-r-10">--}}
                                                {{--<em class="fa fa-cog fa-2x text-custom"></em>--}}
                                            {{--</div>--}}
                                            {{--<div class="media-body">--}}
                                                {{--<h5 class="media-heading">New settings</h5>--}}
                                                {{--<p class="m-0">--}}
                                                    {{--<small>There are new settings available</small>--}}
                                                {{--</p>--}}
                                            {{--</div>--}}
                                        {{--</div>--}}
                                    {{--</a>--}}
                                {{--</li>--}}
                                {{--<li>--}}
                                    {{--<a href="javascript:void(0);" class="list-group-item text-right">--}}
                                        {{--<small class="font-600">See all notifications</small>--}}
                                    {{--</a>--}}
                                {{--</li>--}}
                            {{--</ul>--}}
                        {{--</li>--}}
                        <li class="hidden-xs">
                            <a href="#" id="" class="waves-effect waves-light">您好：{{session('user')['name']}}</a>
                        </li>
                        {{--<li class="hidden-xs">--}}
                            {{--<a href="#" id="btn-fullscreen" class="waves-effect waves-light"><i class="icon-size-fullscreen"></i></a>--}}
                        {{--</li>--}}
                        <li class="hidden-xs">
                            <a href="#" class="right-bar-toggle waves-effect waves-light"><i class="icon-settings"></i></a>
                        </li>
                        <li class="dropdown">
                            {{--<ul class="dropdown-menu">--}}
                                {{--<li><a href="javascript:void(0)"><i class="ti-user m-r-5"></i> Profile</a></li>--}}
                                {{--<li><a href="javascript:void(0)"><i class="ti-settings m-r-5"></i> Settings</a></li>--}}
                                {{--<li><a href="javascript:void(0)"><i class="ti-lock m-r-5"></i> Lock screen</a></li>--}}
                                {{--<li><a href="/admin/adminOut"><i class="ti-power-off m-r-5"></i> 退出登录</a></li>--}}
                            {{--</ul>--}}
                        </li>
                    </ul>
                </div>
                <!--/.nav-collapse -->
            </div>
        </div>
    </div>
    <!-- Top Bar End -->


    <!-- ========== Left Sidebar Start ========== -->

    <div class="left side-menu">
        <div class="sidebar-inner slimscrollleft">
            <!--- Divider -->
            <div id="sidebar-menu">
                <ul>
                    <li class="text-muted menu-title">菜单</li>
                    <li class="has_sub">
                        <a href="" data-id="1" class="waves-effect subdrop"><i class="md md-expand-more"></i><span>保单计费管理</span> </a>
                        <ul class="list-unstyled" style="display: block">
                            <li><a class="a_load" href="/admin/companySettingsList
">公司设置</a></li>
                            <li><a class="a_load" href="/admin/excelExplode">保单信息导入</a></li>
                            <li><a class="a_load" href="/admin/listInfo">保单信息查看</a></li>
                        </ul>
                    </li>
                </ul>
                <div class="clearfix"></div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
    <!-- Left Sidebar End -->



    <!-- ============================================================== -->
    <!-- Start right Content here -->
    <!-- ============================================================== -->

    @section('rightContent')
        @show


    <!-- ============================================================== -->
    <!-- End Right content here -->
    <!-- ============================================================== -->


    <!-- Right Sidebar -->
    <div class="side-bar right-bar nicescroll">
        <h4 class="text-center">账户信息</h4>
        <div class="contact-list nicescroll">
            <ul class="list-group contacts-list">
                <li class="list-group-item">
                    <a href="#">
                        <div class="avatar">
                            {{--<img src="/admin/assets/images/users/avatar-1.jpg" alt="">--}}
                        </div>
                        <a href="/adminPassword" class="name">修改密码</a>
                        <i class="fa fa-circle online"></i>
                    </a>
                    <span class="clearfix"></span>
                </li>
                <li class="list-group-item">
                    <a href="#">
                        <div class="avatar">
                            {{--<img src="/admin/assets/images/users/avatar-1.jpg" alt="">--}}
                        </div>
                        <a href="/admin/adminSaveInfo" class="name">修改账户信息</a>
                        <i class="fa fa-circle online"></i>
                    </a>
                    <span class="clearfix"></span>
                </li>
                <li class="list-group-item">
                    <a href="#">
                        <div class="avatar">
                            {{--<img src="/admin/assets/images/users/avatar-1.jpg" alt="">--}}
                        </div>
                        <a href="/admin/adminOut" class="name">退出登录</a>
                        <i class="fa fa-circle online"></i>
                    </a>
                    <span class="clearfix"></span>
                </li>
            </ul>
        </div>
    </div>
    <!-- /Right-bar -->

</div>
<!-- END wrapper -->
<script src="/admin/assets/plugins/bootstrap-table/dist/locale/bootstrap-table-zh-CN.min.js"></script>
<script>
      $(function () {
        setTimeout(function () {
          $(".alert_hidden").hide(700);
        },1500)
        $(".waves-effect").on('click',function () {
          console.log($(this).data('id'));
          if($(this).data('id') == 1){
            //console.log()
            $(this).removeClass('subdrop');
            $(this).find('.md').removeClass('md-expand-more').addClass('md-chevron-right');
            $(this).data('id','0')
            $(this).parent().siblings().find('.md').removeClass('md-expand-more').addClass('md-chevron-right');
            $(this).parent().siblings().data('id','0')
            $(this).parent().siblings().find('.waves-effect').removeClass('subdrop')
          }else{
            $(this).addClass('subdrop');
            $(this).find('.md').removeClass('md-chevron-right').addClass('md-expand-more');
            $(this).data('id','1')
            $(this).parent().siblings().find('.md').removeClass('md-expand-more').addClass('md-chevron-right');
            $(this).parent().siblings().data('id','0')
            $(this).parent().siblings().find('.waves-effect').removeClass('subdrop')
          }
        })
      });

</script>
</body>
</html>